var Ql = {

	windowHeight: $(window).height(),
	windowWidth: $(window).width(),
	headerWidth: $('header.main').width(),

	setHeader: function(){
		var height = $('header').height(),
			marginTop = (Ql.windowHeight - height) / 2;
		$('header').css('margin-top', marginTop);
	},

	setSection: function(){
		var sectionWidth = Ql.windowWidth - Ql.headerWidth;
		console.log(sectionWidth);
		$('section.main').css({
			'width': sectionWidth,
			'height': Ql.windowHeight
		});
	},

	start: function(){
		Ql.setHeader();
		Ql.setSection();
	}
}

Ql.start();
